﻿using System.Collections;
using FX.CC.Andon.Entity;
using FX.CC.Andon.Entity.BasicDataManage;
using FX.CC.Andon.Service.Service;
using FX.CC.Andon.Utility.Json;
using FX.CC.Andon.Entity.Service;
using System;
using System.Collections.Generic;

namespace FX.CC.Andon.Business.Service
{
    /// <summary>
    /// 异常类别业务层
    /// </summary>
    public class KanbanBiz
    {
        private readonly KanbanService _dal = new KanbanService();

        public IList<KanbanWrapper> GetEvent(Guid sessionID, DateTime bizDate)
        {
            return _dal.GetEvent(sessionID, bizDate);
        }

        public IList<TaskKanbanWrapper> GetTaskListBySession(Guid sessionID, DateTime bizDate) {
            return _dal.GetTaskListBySession(sessionID, bizDate);
        }

        public IList<PrdTaskWrapper> GetTaskList(Guid eqID, DateTime bizDate) {
            return _dal.GetTaskList(eqID, bizDate);
        }

        public IList<string> GetNotice() {
            return _dal.GetNotice();
        }
    }
}
